package cn.kgc.mapper;

import cn.kgc.entity.Categroy;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CategroyMapper {
    List<Categroy> getAllCategroy();
    Categroy getCategroyById(Integer id);
    void addCategroy(Categroy categroy);
    void updateCategroy(Categroy categroy);
    void deleteCategroyById(Integer id);
}
